package fr.ece.ing4.si.MonteCarloSet;

//this class represent a single set of argument for the montecarlo function
public class Set {
	private String CallPutFlag;
	private Double S;
	private Double X;
	private Double T;
	private Double r;
	private Double b;
	private Double v;
	private Integer nSteps;
	private Integer nSimulations;
	
	//constructor
	public Set(Double S, Double X, Double T, Double r, Double b, Double v, Integer nSteps, Integer nSimulations) {
		this.CallPutFlag = "c";
		this.S = S;
		this.X = X;
		this.T = T;
		this.r = r;
		this.b = b;
		this.v = v;
		this.nSteps = nSteps;
		this.nSimulations = nSimulations;
	}
	
	//returnsa string with all the arguments of the set
	@Override
	public String toString() {
		return "S: " + S + " -- " + "X: " + X + " -- " + 
				"T: " + T + " -- " + "r: " + r + " -- " + 
				"b: " + b + " -- " + "v: " + v + " -- " + 
				"nSteps: " + nSteps + " -- " + "nSimulations: " + nSimulations;
	}
	
	//GETTERS and SETTERS
	public String getCallPutFlag() {
		return CallPutFlag;
	}

	public void setCallPutFlag(String callPutFlag) {
		CallPutFlag = callPutFlag;
	}

	public Double getS() {
		return S;
	}

	public void setS(Double s) {
		S = s;
	}

	public Double getX() {
		return X;
	}

	public void setX(Double x) {
		X = x;
	}

	public Double getT() {
		return T;
	}

	public void setT(Double t) {
		T = t;
	}

	public Double getR() {
		return r;
	}

	public void setR(Double r) {
		this.r = r;
	}

	public Double getB() {
		return b;
	}

	public void setB(Double b) {
		this.b = b;
	}

	public Double getV() {
		return v;
	}

	public void setV(Double v) {
		this.v = v;
	}

	public Integer getnSteps() {
		return nSteps;
	}

	public void setnSteps(Integer nSteps) {
		this.nSteps = nSteps;
	}

	public Integer getnSimulations() {
		return nSimulations;
	}

	public void setnSimulations(Integer nSimulations) {
		this.nSimulations = nSimulations;
	}
}
